import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:star_author/config/ui_constant.dart';

//竖线
class VLine extends StatelessWidget {
  const VLine(
    this.height, {
    Key? key,
    this.color,
  }) : super(key: key);
  final double height;
  final Color? color;

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 1.w,
      height: height,
      color: color ?? UIConstant.colorEE,
    );
  }
}
